package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 患者信息表对象 patient_manage
 * 
 * @author Mr.abc
 * @date 2024-05-30
 */
public class PatientManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 患者ID */
    private Long patientId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String patientName;

    /** 性别 */
    @Excel(name = "性别")
    private String patientGender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date patientBrithdate;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationtime;

    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPatientGender(String patientGender) 
    {
        this.patientGender = patientGender;
    }

    public String getPatientGender() 
    {
        return patientGender;
    }
    public void setPatientBrithdate(Date patientBrithdate) 
    {
        this.patientBrithdate = patientBrithdate;
    }

    public Date getPatientBrithdate() 
    {
        return patientBrithdate;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setRegistrationtime(Date registrationtime) 
    {
        this.registrationtime = registrationtime;
    }

    public Date getRegistrationtime() 
    {
        return registrationtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("patientId", getPatientId())
            .append("patientName", getPatientName())
            .append("patientGender", getPatientGender())
            .append("patientBrithdate", getPatientBrithdate())
            .append("idNumber", getIdNumber())
            .append("phoneNumber", getPhoneNumber())
            .append("registrationtime", getRegistrationtime())
            .toString();
    }
}
